using System;
using System.Collections.Generic;

namespace CMS.Core.Domain
{
    /// <summary>
    /// LanhDao object for NHibernate mapped table LanhDao.
    /// </summary>
    [Serializable]
    public class LanhDao : DomainObject<System.Int32>
    {


        private System.Int32 _MaTiepDan;
        private System.String _TenLanhDao;
        private TiepDan _MaTiepDanLookup;

        public LanhDao()
        {
        }

        public LanhDao(System.Int32 id)
        {
            base.ID = id;
        }

         public virtual System.Int32 MaTiepDan {
             get { return _MaTiepDan; }
             set { _MaTiepDan = value;}
         }

         public virtual System.String TenLanhDao {
             get { return _TenLanhDao; }
             set { _TenLanhDao = value;}
         }

         public virtual TiepDan MaTiepDanLookup{
             get { return _MaTiepDanLookup; }
             set { _MaTiepDanLookup = value;}
         }


        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }

     }
}
